/*Color brand*/
:root {
    --camel: #f8eee6;
    --lightBlue: #b9d7f2;
    --pink: #f6b6b8;
    --purple: #6B2138;
    --orange: #e95226;
    --yellow: #d0c460;
    --brown: #4d4342;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: #fbf2ea;
}

body::selection{
    background: var(--purple);
    color: var(--camel);
}

/*Polices d'écriture*/
@font-face {
    font-family: 'poppins';
    src: url('../fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'lora';
    src: url('../fonts/Lora-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.6);
}

.logo-header{
    width: 5vw;
    height: auto;
}

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5vw 2vw;
    position: relative;
}

.nav-menu{
    display: flex;
    align-items: center;
    gap: 2vw;
}

ul li {
    list-style: none;
    display: inline-block;
}

.burger-menu {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    gap: 5px;
}

.burger-bar {
    width: 30px;
    height: 3px;
    background-color: var(--brown);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.burger-menu.active .burger-bar:nth-child(1) {
    transform: rotate(45deg) translate(7.5px, 7px);
}

.burger-menu.active .burger-bar:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-bar:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

ul a:hover{
    cursor: pointer;
    color: red;
}

ul button:hover{
    cursor: pointer;
    opacity: 0.8;
}

nav ul li a{
    text-decoration: none;
}


.billeterie-nav{
    border: none;
    background-color: var(--purple);
    border-radius: 1vw;
    width: 7vw; 
    height: 2.5vw;
    color: var(--camel);
    font-size: 1.2vw;
    font-family: poppins, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    font-weight: bold;
}

.index-nav{
    border: none;
    background-color: var(--yellow);
    border-radius: 1vw;
    width: 6vw; 
    height: 2.5vw;
    color: var(--brown);
    font-size: 1.2vw;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    font-weight: bold;
    font-family: poppins, sans-serif;
}

.hpc{
    border: none;
    background-color: transparent;
    color: var(--purple);
    font-size: 1.2vw;
    font-weight: bold;
    font-family: poppins, sans-serif;
}


/* Mobile (téléphone) - Détection basée sur le ratio d'aspect et l'orientation */
@media screen and ((orientation: portrait) and (max-aspect-ratio: 2/3)),
       screen and ((max-width: 768px) and (hover: none) and (pointer: coarse)) {
    .logo-header {
        width: 12vw;
    }

    nav {
        padding: 4vw;
    }

    .burger-menu {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: var(--camel);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding-top: 80px;
        padding-bottom: 6vw;
        z-index: 1000;
        gap: 3vw;
        overflow-y: auto;
        justify-content: flex-start;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 2vw 0;
        display: block;
    }

    .billeterie-nav,
    .index-nav {
        width: 50vw;
        height: 12vw;
        font-size: 4vw;
        border-radius: 3vw;
    }

    .hpc {
        font-size: 4vw;
        padding: 3vw;
    }
}

/* Tablette - Écrans moyens en portrait ou paysage tactile */
@media screen and ((orientation: portrait) and (min-aspect-ratio: 2/3) and (max-width: 1024px)),
       screen and ((orientation: landscape) and (max-width: 1366px) and (hover: none)),
       screen and ((min-width: 769px) and (max-width: 1024px) and (orientation: portrait)) {
    .logo-header {
        width: 8vw;
    }

    .billeterie-nav,
    .index-nav {
        width: 10vw;
        height: 4vw;
        font-size: 1.5vw;
    }

    .hpc {
        font-size: 1.5vw;
    }

    .nav-menu {
        gap: 1.5vw;
    }
}